package hsb.ruoyi.system.domain;

import io.quarkus.runtime.annotations.RegisterForReflection;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.ws.rs.QueryParam;

/**
 * 角色和菜单关联 sys_role_menu
 *
 * @author ruoyi
 */
@RegisterForReflection
@Data
public class SysRoleMenu {
    /**
     * 角色ID
     */
    @QueryParam("roleId")
	private Long roleId;

    /**
     * 菜单ID
     */
    @QueryParam("menuId")
	private Long menuId;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("roleId", getRoleId())
                .append("menuId", getMenuId())
                .toString();
    }
}
